The nowrap can be a bit obnoxious when available layout space is
limited. Wrap.
Signed-off-by: Paul Donald <[email protected]>
float: left;
}
-.nowrap {
+.nowrap:not(span) {
+/* Sometimes you need to wrap: badges on narrow screens look weird
+ and nowrap defeats other width constraints, so exclude span */
white-space: nowrap;
}
.ifacebadge {
display: inline-block;
flex-direction: row;
- white-space: nowrap;
border: 1px solid var(--border-color-high);
padding: 2px;
background: linear-gradient(var(--background-color-high), var(--background-color-high) 25%, var(--background-color-medium));
float: left;
}
-.nowrap:not(.td) {
+.nowrap:not(.td span) {
+/* Sometimes you need to wrap: badges on narrow screens look weird
+ and nowrap defeats other width constraints, so exclude span */
white-space: nowrap;
}
vertical-align: middle !important;
}
-.nowrap {
+.nowrap:not(span) {
+/* Sometimes you need to wrap: badges on narrow screens look weird
+ and nowrap defeats other width constraints, so exclude span */
white-space: nowrap !important;
}
line-height: 3em;
}
-.nowrap {
+.nowrap:not(span) {
+/* Sometimes you need to wrap: badges on narrow screens look weird
+ and nowrap defeats other width constraints, so exclude span */
white-space: nowrap;
}